<html xmlns:th="http://www.thymeleaf.org" lang="en" class="no-js">
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>仓库管理系统</title>
    <!-- Bootstrap Core CSS -->
    <link href="../../static/htmlele/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" th:href="@{/htmlele/bootstrap/dist/css/bootstrap.min.css}">
    <!-- Menu CSS -->
    <link href="../../static/plugins/bower_components/sidebar-nav/dist/sidebar-nav.min.css" rel="stylesheet" th:href="@{/plugins/bower_components/sidebar-nav/dist/sidebar-nav.min.css}" >
    <!-- toast CSS -->
    <link href="../../static/plugins/bower_components/toast-master/css/jquery.toast.css" rel="stylesheet" th:href="@{/plugins/bower_components/toast-master/css/jquery.toast.css}">
    <!-- morris CSS -->
    <link href="../../static/plugins/bower_components/morrisjs/morris.css" rel="stylesheet" th:href="@{/plugins/bower_components/morrisjs/morris.css}">
    <!-- chartist CSS -->
    <link href="../../static/plugins/bower_components/chartist-js/dist/chartist.min.css" rel="stylesheet" th:href="@{/plugins/bower_components/chartist-js/dist/chartist.min.css}">
    <link href="../../static/plugins/bower_components/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.css" rel="stylesheet" th:href="@{/plugins/bower_components/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.css}">
    <!-- animation CSS -->
    <link href="../../static/htmlele/css/animate.css" rel="stylesheet" th:href="@{/htmlele/css/animate.css}">
    <!-- Custom CSS -->
    <link href="../../static/htmlele/css/style.css" rel="stylesheet"  th:href="@{/htmlele/css/style.css}">
    <!-- color CSS -->
    <link href="../../static/htmlele/css/colors/default.css" id="theme" rel="stylesheet" th:href="@{/htmlele/css/colors/default.css}">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>-->
    <!--    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js" ></script>-->
    <!--    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>-->
    <!--<![endif]&ndash;&gt;-->
</head>

<body class="fix-header">
<!-- ============================================================== -->
<!-- Preloader -->
<!-- ============================================================== -->
<div class="preloader">
    <svg class="circular" viewBox="25 25 50 50">
        <circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" />
    </svg>
</div>
<!-- ============================================================== -->
<!-- Wrapper -->
<!-- ============================================================== -->
<div id="wrapper">
    <!-- ============================================================== -->
    <!-- Topbar header - style you can find in pages.scss -->
    <!-- ============================================================== -->
    <nav class="navbar navbar-default navbar-static-top m-b-0">
        <div class="navbar-header">
            <div class="top-left-part">
                <!-- Logo -->
                <a class="logo" href="dashboard.html">
                    <!-- Logo icon image, you can use font-icon also --><b>
                    <!--This is dark logo icon--><img src="../../static/plugins/images/admin-logo.png" th:src="@{/plugins/images/admin-logo.png}" alt="home"
                                                      class="dark-logo" />
                    <!--This is light logo icon--><img src="../../static/plugins/images/admin-logo-dark.png" th:src="@{/plugins/images/admin-logo-dark.png}" alt="home"
                                                       class="light-logo" />
                </b>
                    <!-- Logo text image you can use text also --><span class="hidden-xs">
                            <!--This is dark logo text--><img src="../../static/plugins/images/admin-text.png" th:src="@{/plugins/images/admin-text.png}" alt="home"
                                                              class="dark-logo" />
                    <!--This is light logo text--><img src="../../static/plugins/images/admin-text-dark.png" th:src="@{/plugins/images/admin-text-dark.png}" alt="home"
                                                       class="light-logo" />
                        </span> </a>
            </div>
            <!-- /Logo -->
            <ul class="nav navbar-top-links navbar-right pull-right">
                <li>
                    <a class="nav-toggler open-close waves-effect waves-light hidden-md hidden-lg"
                       href="javascript:void(0)"><i class="fa fa-bars"></i></a>
                </li>
                <li>
                    <form role="search" class="app-search hidden-sm hidden-xs m-r-10">
                        <input type="text" placeholder="Search..." class="form-control"> <a href=""><i
                            class="fa fa-search"></i></a> </form>
                </li>
                <li>
                    <a class="profile-pic" href="#"> <img src="../../static/plugins/images/users/varun.jpg" th:src="@{/plugins/images/users/varun.jpg}" alt="user-img"
                                                          width="36" class="img-circle"><b class="hidden-xs" th:text="${currentName}"></b></a>
                </li>
            </ul>
        </div>
        <!-- /.navbar-header -->
        <!-- /.navbar-top-links -->
        <!-- /.navbar-static-side -->
    </nav>
    <!-- End Top Navigation -->
    <!-- ============================================================== -->
    <!-- Left Sidebar - style you can find in sidebar.scss  -->
    <!-- ============================================================== -->
    <div class="navbar-default sidebar" role="navigation">
        <div class="sidebar-nav slimscrollsidebar">
            <div class="sidebar-head">
                <h3><span class="fa-fw open-close"><i class="ti-close ti-menu"></i></span> <span
                        class="hide-menu">Navigation</span></h3>
            </div>
            <ul class="nav" id="side-menu">
                <li style="padding: 70px 0 0;">
                    <a href="#" class="waves-effect"><i class="fa fa-clock-o fa-fw" aria-hidden="true"></i>主页</a>
                </li>
                <li><a href="#" class="waves-effect"><i class="fa fa-beer fa-fw" aria-hidden="true"></i>入库出库</a></li>


                <li>
                    <a href="/query/" class="waves-effect"><i class="fa fa-columns fa-fw" aria-hidden="true"></i>查询统计</a>
                </li>

                <li>
                    <a  href="/product/index" th:style="${product}" class="waves-effect"><i class="fa fa-cubes fa-fw" aria-hidden="true"></i>产品管理</a>
                </li>


                <li>
                    <a  href="/admin/user/proPage" class="waves-effect"><i class="fa fa-user fa-fw" aria-hidden="true"></i>个人信息</a>
                </li>


                <li>
                    <a  href="/admin/user/tablePage"  th:style="${manage}"  class="waves-effect"><i class="fa fa-table fa-fw" aria-hidden="true"></i>用户管理</a>
                </li>

            </ul>
            <div class="center p-20">
                <a href="/admin/user/loginPage"
                   class="btn btn-danger btn-block waves-effect waves-light">退出系统</a>
            </div>
        </div>
    </div>
    <!-- ============================================================== -->
    <!-- End Left Sidebar -->
    <!-- ============================================================== -->
    <!-- ============================================================== -->
    <!-- Page Content -->
    <!-- ============================================================== -->
    <div id="page-wrapper">
        <div class="container-fluid">
            <div class="row bg-title">
                <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
                    <h4 class="page-title">添加用户</h4>
                </div>
                <div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<!--                    <a href="#" target="_blank"-->
<!--                       class="btn btn-danger pull-right m-l-20 hidden-xs hidden-sm waves-effect waves-light">Upgrade-->
<!--                        to Pro</a>-->
                    <ol class="breadcrumb">
                        <li><a href="#">主页</a></li>
                        <li class="active">添加用户</li>
                    </ol>
                </div>
            </div>
            <!-- /.row -->
            <!-- .row -->
            <div class="row">

                <div class="col-md-8 col-xs-12">
                    <div class="white-box">
                        <form class="form-horizontal form-material" action="/admin/user/insertaction" method="post">
                            <div class="form-group">
                                <label class="col-md-12">ID</label>
                                <div class="col-md-12">
                                    <input type="text" th:value="${adminId}" name="adminId"
                                           class="form-control form-control-line"> </div>
                            </div>

                            <div class="form-group">
                                <label class="col-md-12">Name</label>
                                <div class="col-md-12">
                                    <input type="text"  th:value="${adminName}" name="adminName"
                                           class="form-control form-control-line"> </div>
                            </div>





                            <!--                            <div class="form-group">-->
                            <!--                                <label for="example-email" class="col-md-12">Name</label>-->
                            <!--                                <div class="col-md-12">-->
                            <!--                                    <input type="email" th:placeholder="${adminName}" name="adminName"-->
                            <!--                                           class="form-control form-control-line"-->
                            <!--                                           id="example-email"> </div>-->
                            <!--                            </div>-->

                            <div class="form-group">
                                <label class="col-md-12">Role</label>
                                <div class="col-md-12">
                                    <input type="text"  th:value="${role}"  name="role"
                                           class="form-control form-control-line"> </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-12">Password</label>
                                <div class="col-md-12">
                                    <div>
                                        <!--                                        <input type="password" value="password" class="form-control form-control-line">-->
                                        <!--                                        <span class="fa fa-eye"></span>-->
                                        <input type="text"  th:value="${password}" name="password"
                                               class="form-control form-control-line">
                                    </div>
                                </div>
                            </div>

                            <div class="form-group">
                                <div class="col-sm-12">
                                    <button class="btn btn-success">添加用户</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <!-- /.row -->
        </div>
        <!-- /.container-fluid -->
        <footer class="footer text-center"> 2017 &copy; Ample Admin brought to you by wrappixel - More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a> </footer>
    </div>
    <!-- /#page-wrapper -->
</div>
<script src="../../static/plugins/bower_components/jquery/dist/jquery.min.js" th:src="@{/plugins/bower_components/jquery/dist/jquery.min.js}"></script>
<!-- Bootstrap Core JavaScript -->
<script src="../../static/htmlele/bootstrap/dist/js/bootstrap.min.js" th:src="@{/htmlele/bootstrap/dist/js/bootstrap.min.js}"></script>
<!-- Menu Plugin JavaScript -->
<script src="../../static/plugins/bower_components/sidebar-nav/dist/sidebar-nav.min.js" th:src="@{/plugins/bower_components/sidebar-nav/dist/sidebar-nav.min.js}"></script>
<!--slimscroll JavaScript -->
<script src="../../static/htmlele/js/jquery.slimscroll.js" th:src="@{/htmlele/js/jquery.slimscroll.js}" c></script>
<!--Wave Effects -->
<script src="../../static/htmlele/js/waves.js" th:src="@{/htmlele/js/waves.js}"></script>
<!--Counter js -->
<script src="../../static/plugins/bower_components/waypoints/lib/jquery.waypoints.js" th:src="@{/plugins/bower_components/waypoints/lib/jquery.waypoints.js}"></script>
<script src="../../static/plugins/bower_components/counterup/jquery.counterup.min.js" th:src="@{/plugins/bower_components/counterup/jquery.counterup.min.js}"></script>
<!-- chartist chart -->
<script src="../../static/plugins/bower_components/chartist-js/dist/chartist.min.js" th:src="@{/plugins/bower_components/chartist-js/dist/chartist.min.js}"></script>
<script src="../../static/plugins/bower_components/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.min.js" th:src="@{/plugins/bower_components/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.min.js}"></script>
<!-- Sparkline chart JavaScript -->
<script src="../../static/plugins/bower_components/jquery-sparkline/jquery.sparkline.min.js" th:src="@{/plugins/bower_components/jquery-sparkline/jquery.sparkline.min.js}"></script>
<!-- Custom Theme JavaScript -->
<script src="../../static/htmlele/js/custom.min.js"  th:src="@{/htmlele/js/custom.min.js}"></script>
<script src="../../static/plugins/bower_components/toast-master/js/jquery.toast.js" th:src="@{/plugins/bower_components/toast-master/js/jquery.toast.js}"></script>
</body>

</html>